package com.tablefood.service.Impl;

import javax.annotation.Resource;

import org.springframework.transaction.annotation.Transactional;

import com.tablefood.dao.AdminDao;
import com.tablefood.domain.ShopAdmin;
import com.tablefood.service.AdminService;

@Transactional
public class AdminServiceImpl implements AdminService {

	@Resource
	private AdminDao adminDao;

	/*
	 * 登录检验
	 * */
	@Override
	public boolean loginAdmin(ShopAdmin admin) {
		 
		return adminDao.loginAdmin(admin);
	}

}
